package com.xxg.renrenlogin.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 验证验证码是否正确参数
 *
 * @author xxg
 * @date 2020/10/26
 */
@Data
@ApiModel(value = "CodeVerifyQuery", description = "验证验证码是否正确参数")
public class CodeVerifyQuery {
    @NotNull(message = "msgId不能为null")
    @ApiModelProperty(value = "验证码ID", required = true)
    private String msgId;
    @NotNull(message = "code不能为null")
    @ApiModelProperty(value = "验证码", required = true)
    private String code;
}
